[NTG-context] setupalign[line]/setupalign[height] break \testpage

2021-05-06 Thread denis.maier
=cmd] So, I thought \testpage or \checkpage here could be a solution. However, the vertical stretching algorithm seems to interfere with \testpage in some way as the example below tries to illustrate. Can anyone confirm this? Is this a bug or am I missing something

Re: [NTG-context] Testpage with extras

2014-02-01 Thread Keith J. Schultz
Hagen pra...@wxs.nl: On 1/31/2014 10:46 AM, Keith J. Schultz wrote: Personally, I find the names used sub-optimal! we had testpage and that one stays anyway and checkpage is close to that (overloading testpage with a new syntax is messy) I would think something like conditionalbreak

Re: [NTG-context] Testpage with extras

2014-02-01 Thread Hans Hagen
On 2/1/2014 10:15 AM, Keith J. Schultz wrote: Hi Hans, how about the \ifleftonpage, or something like that? \if is reserved for 'real' ifs - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Keith J. Schultz
as an added layer on top of testpage! At least the test is if X lines left on page or still fit on page! I also have a question. Are the commands setuppagechecker sothat \definepagechecker[whatever] \setuppagechecker[whatever] [lines=35, voffset=10pt, before={\vfill\wordright{(see next page)}\par

Re: [NTG-context] Testpage with extras

2014-01-31 Thread Hans Hagen
On 1/31/2014 10:46 AM, Keith J. Schultz wrote: Personally, I find the names used sub-optimal! we had testpage and that one stays anyway and checkpage is close to that (overloading testpage with a new syntax is messy) I would think something like conditionalbreak or conditionalpagebreak

[NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
Hi there, I asked a similar question before, but I try it again (in a bit different way): The command \testpage[n] Paragraph sets the next paragraph on the next page, if there are less than n lines left on the current page. I use this command very often, but need it with some extension

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
On 1/30/2014 10:37 AM, H. Özoguz wrote: Hi there, I asked a similar question before, but I try it again (in a bit different way): The command \testpage[n] Paragraph sets the next paragraph on the next page, if there are less than n lines left on the current page. I use this command very often

Re: [NTG-context] Testpage with extras

2014-01-30 Thread H. Özoguz
use case needed Here two cases to compare: 1. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\ \input knuth\blank \noindentation \input knuth \testpage[35]\noindentation\input knuth \stoptext 2. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth

Re: [NTG-context] Testpage with extras

2014-01-30 Thread Hans Hagen
On 1/30/2014 12:34 PM, H. Özoguz wrote: use case needed Here two cases to compare: 1. \setupindenting[yes, 9pt, first] \starttext \noindentation\input knuth\\ \input knuth\blank \noindentation \input knuth \testpage[35]\noindentation\input knuth \stoptext 2. \setupindenting[yes, 9pt, first

[NTG-context] Testpage vs. indentation

2013-10-29 Thread H. Özoguz
Hello together, normally I want intendation for new paragraphs, but not, if the paragraph is set on the next page by \testpage. See this minexample: \setupindenting[yes, 9pt,first] \starttext \input knuth \testpage[35] \input knuth \stoptext Or more general: No indentation of paragraphs

Re: [NTG-context] Testpage vs. indentation

2013-10-29 Thread Mica Semrick
. Özoguz h.oezo...@mmnetz.de wrote: Hello together, normally I want intendation for new paragraphs, but not, if the paragraph is set on the next page by \testpage. See this minexample: \setupindenting[yes, 9pt,first] \starttext \input knuth \testpage[35] \input knuth \stoptext Or more

[NTG-context] Command only if \testpage is active

2013-04-18 Thread H. Özoguz
Hi, for subsections I use \setuphead[subsection] [after=\vskip-1.6mm, before={\testpage[5]\vskip1.6mm}] The reason is perfect distances between text-subsection-text with activated gridding. If the subsection is not set by \testpage on the next page, then everything workes fine

Re: [NTG-context] Command only if \testpage is active

2013-04-18 Thread Wolfgang Schuster
Am 18.04.2013 um 17:44 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, for subsections I use \setuphead[subsection] [after=\vskip-1.6mm, before={\testpage[5]\vskip1.6mm}] The reason is perfect distances between text-subsection-text with activated gridding. If the subsection

[NTG-context] Command only if \testpage is active

2013-04-18 Thread H. Özoguz
[subsection] [after=\vskip-1.6mm, before={\testpage[5]\vskip1.6mm}]] \starttext \dorecurse{18}{Linefill\\} \input tufte \subsection{Hallo} \input tufte \subsection{Hallo} \input tufte \input tufte \stoptext Huseyin

Re: [NTG-context] Command only if \testpage is active

2013-04-18 Thread Wolfgang Schuster
] [after=\vskip-1.6mm, before={\testpage[5]\vskip1.6mm}]] Don’t use such odd values for the spaces before/after the heading which don’t make sense when you use the grid. When you have a heading with more text or a bigger font size try to change the value for the grid-key in \setuphead

[NTG-context] Command only if \testpage is active

2013-04-18 Thread H. Özoguz
=yes] \showgrid \setuphead[subsection] [before={\testpage[5]\blank[2*line]}] \setuphead[grid=high] \starttext \dorecurse{15}{Linefill\\} \input tufte \subsection{Hallo} \input tufte \subsection{Hallo} \input tufte \input tufte \stoptext But it is not good as my original, and the so the values make

Re: [NTG-context] \setuphead and testpage

2012-07-14 Thread Wolfgang Schuster
Am 14.07.2012 um 00:32 schrieb Hans Hagen: On 13-7-2012 10:02, Wolfgang Schuster wrote: Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line

[NTG-context] \setuphead and testpage

2012-07-13 Thread Wolfgang Schuster
Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line \recurselevel\par} \section{Second} \dorecurse{36}{Line \recurselevel\par} \stoptext Wolfgang

Re: [NTG-context] \setuphead and testpage

2012-07-13 Thread Hans Hagen
On 13-7-2012 10:02, Wolfgang Schuster wrote: Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line \recurselevel\par} \section{Second} \dorecurse{36